
package laya.semi.process;

import laya.util.*;

public class FieldConvertException extends ProcessException
{
	private String m_oFieldId = null;
	
	public FieldConvertException(String oDestTypeName, String oSrcTypeName, Object oVal)
	{
		super(1138, new Object[] {oDestTypeName, oSrcTypeName, oVal});
	}
	
	public FieldConvertException(String oDestTypeName, String oSrcTypeName, Object oVal, String oConvertFormat)
	{
		super(1139, new Object[] {oDestTypeName, oSrcTypeName, oVal, oConvertFormat});
	}
	
	public void setFieldId(String oFieldId)
	{
		m_oFieldId = oFieldId;
	}
	
	public String getMessage()
	{
		return super.getMessage() + "(" + m_oFieldId + ")";
	}
}
